package com.crm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.crm.service.impl.UserServiceImpl;

@RestController
@RequestMapping("/echarts")
public class ChartController {

	@Autowired
	private UserServiceImpl userService;
	@GetMapping
	public Object getCharts() {
		return userService.userStaticCharts();
	}
}
